import { ITableInit } from "@/components/base-ui/table";

export const tableInit: ITableInit = {
  propList: [
    { prop: "name", label: "申请人", minWidth: "100" },
    { prop: "sqgs", label: "申请公司", minWidth: "100" },
    { prop: "wordname", label: "申请文档/文件", minWidth: "100" },
    { prop: "createTime	", label: "申请时间", minWidth: "100", slot: "date" },
    { prop: "email", label: "申请人邮箱", minWidth: "100" },
    { prop: "phone", label: "手机号码", minWidth: "100" },
    { prop: "type", label: "处理状态", minWidth: "100", slot: "type" },
    // { prop: "jinli", label: "业务经理", minWidth: "100" },
    { prop: "operation", label: "操作", minWidth: "100", slot: "operation" }
  ],
  // children: {
  //   rowKey: "id",
  //   treeProp: {
  //     children: "children",
  //     hasChildren: true
  //   }
  // }
  // showIndex: false,
  // selection: false,
  // cardStyle: {
  //   marginTop: '20px'
  // },

  pagination: true,
  paginationConfig: {
    currentPage: 1,
    pageSize: 10
  },
  total: 0,
  btn: ["export"]
};
